package com.hrm.company.dao;

import com.hrm.domain.company.Company;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * @Author: 林海湾Sea
 * @Date :  2021/11/18 11:05
 * @Decription: 企业持久层（dao）
 *
 * JpaRepository<Company, String>    : 提供基本的增删改查
 * JpaSpecificationExecutor<Company> : 用于做复杂的条件查询
 */
@Repository
public interface CompanyDao extends JpaRepository<Company, String>, JpaSpecificationExecutor<Company> {

}
